#include <asm/asm.h>
#include <asm/regdef.h>
#include <cpu.h>
#include <asm/context.h>
#include <inst_ex_test.h>

####LEAF(n65_sw_ex_test)
    .globl n65_sw_ex_test
n65_sw_ex_test:
    .set noreorder
    li  a0, 0x41
###test inst
    TEST_SW_EX(0x98dc574a, 0x13166daa, 0x111a8c8b, 0x80103d30, 0x0000416f, 0x0000416c, 0x13166daa, 0x80107e9f)
    TEST_SW_EX(0x0c41f5e8, 0x634858c8, 0xb5d455c0, 0x801082d8, 0x00000889, 0x00000888, 0x634858c8, 0x80108b61)
    TEST_SW_EX(0xd3d7c034, 0xe8ff9000, 0x531484b0, 0x80104178, 0x00006f85, 0x00006f84, 0xe8ff9000, 0x8010b0fd)
    TEST_SW_EX(0xeb54b87c, 0xed3cc1d0, 0x4dac8b78, 0x8010a256, 0x000000c0, 0x000000c0, 0xeb54b87c, 0x8010a316)
    TEST_SW_EX(0x994c0280, 0xa10febaf, 0x89a00206, 0x80108850, 0x0000418b, 0x00004188, 0xa10febaf, 0x8010c9db)
    TEST_SW_EX(0xc052b3f0, 0x66ee1980, 0x2cd2a500, 0x801023d5, 0x000064a2, 0x000064a0, 0xc052b3f0, 0x80108875)
    TEST_SW_EX(0xb189c470, 0xfb5aade0, 0x78fa1a52, 0x80107bda, 0x00007976, 0x00007974, 0xb189c470, 0x8010f54e)
    TEST_SW_EX(0xd53c6615, 0xa816e09c, 0xec774a48, 0x80105a88, 0x00001bfe, 0x00001bfc, 0xa816e09c, 0x80107686)
    TEST_SW_EX(0x401613e8, 0x6a6104fa, 0xb35af4a0, 0x80104086, 0x000012b7, 0x000012b4, 0x401613e8, 0x8010533a)
    TEST_SW_EX(0xfb4db2e0, 0x83e9211e, 0x119c33f0, 0x80100a6b, 0x00000fdb, 0x00000fd8, 0xfb4db2e0, 0x80101a43)
    TEST_SW_EX(0xebdc8860, 0x7db16500, 0xd74fd2c0, 0x80102066, 0x0000ccc2, 0x0000ccc0, 0x80112066, 0x8010ed26)
    TEST_SW_EX(0x75ed087c, 0xbf097300, 0x3935b774, 0x80107dda, 0x00006f76, 0x00006f74, 0x75ed087c, 0x8010ed4e)
    TEST_SW_EX(0xcb09da60, 0x4c966fee, 0x3b2a1b50, 0x80101751, 0x00009b24, 0x00009b24, 0x80111751, 0x8010b275)
    TEST_SW_EX(0x62f4f2de, 0x01c3b82c, 0xc3fc8e00, 0x80109794, 0x00002636, 0x00002634, 0x01c3b82c, 0x8010bdca)
    TEST_SW_EX(0x7dde5e68, 0x8c5242a2, 0x366cb599, 0x801008f2, 0x00004198, 0x00004198, 0x7dde5e68, 0x80104a8a)
    TEST_SW_EX(0x8e445ee0, 0x10af19f8, 0x06fdf000, 0x8010ac3e, 0x0000194b, 0x00001948, 0x8e445ee0, 0x8010c586)
    TEST_SW_EX(0xd46e4b74, 0x705c6380, 0xe70e60e0, 0x8010eb5e, 0x0000065a, 0x00000658, 0xd46e4b74, 0x8010f1b6)
    TEST_SW_EX(0x79f45dee, 0xb5fa5671, 0x26c65646, 0x801027c7, 0x00003b8a, 0x00003b88, 0x79f45dee, 0x8010634f)
    TEST_SW_EX(0xae2e0a36, 0xcef41f00, 0x8b04ce54, 0x80109df6, 0x0000220c, 0x0000220c, 0xae2e0a36, 0x8010c002)
    TEST_SW_EX(0xff383718, 0x5e4800d8, 0xb8ea0716, 0x80103d02, 0x00003477, 0x00003474, 0xff383718, 0x80107176)
    TEST_SW_EX(0x7ffb45b4, 0x9abe2378, 0x4c9a1b2d, 0x801078ea, 0x00007c8f, 0x00007c8c, 0x7ffb45b4, 0x8010f576)
    TEST_SW_EX(0xb79a03c0, 0x9253fa88, 0xfe8e2c60, 0x80100a22, 0x00001418, 0x00001418, 0xb79a03c0, 0x80101e3a)
    TEST_SW_EX(0x999b6b40, 0x95ca9320, 0x4ff3df90, 0x80105efa, 0x00004ef4, 0x00004ef4, 0x999b6b40, 0x8010adee)
    TEST_SW_EX(0xc98e684d, 0x01f1797c, 0x14d839ec, 0x80102882, 0x0000440e, 0x0000440c, 0xc98e684d, 0x80106c8e)
    TEST_SW_EX(0xd6b6fbee, 0x954507a0, 0xcb7a2525, 0x8010044a, 0x00001164, 0x00001164, 0xd6b6fbee, 0x801015ae)
    TEST_SW_EX(0x95cd0cd8, 0xc8144860, 0x66de5060, 0x8010bc5d, 0x00003a70, 0x00003a70, 0x95cd0cd8, 0x8010f6cd)
    TEST_SW_EX(0x7e5a74a3, 0x114d68c8, 0xe32e4e30, 0x8010188a, 0x00005af2, 0x00005af0, 0x7e5a74a3, 0x8010737a)
    TEST_SW_EX(0xcef9dede, 0x9c3a3600, 0xe31db2c8, 0x8010ae43, 0x0000394c, 0x0000394c, 0xcef9dede, 0x8010e78f)
    TEST_SW_EX(0xdb233fb0, 0xf06d8b70, 0xff4ffade, 0x80100206, 0x0000b960, 0x0000b960, 0x80110206, 0x8010bb66)
    TEST_SW_EX(0xaa4f4800, 0x69dd1a7d, 0x0299b72a, 0x80106efb, 0x00005f18, 0x00005f18, 0xaa4f4800, 0x8010ce13)
    TEST_SW_EX(0x36b76468, 0xa7b623c1, 0x8c6f4aa0, 0x801004da, 0x0000264c, 0x0000264c, 0x36b76468, 0x80102b26)
    TEST_SW_EX(0x5c180ea8, 0xb3059aca, 0xa541718a, 0x801041cd, 0x000094aa, 0x000094a8, 0x801141cd, 0x8010d675)
    TEST_SW_EX(0xec12cb70, 0xb6b2210c, 0x364ecca0, 0x80106eee, 0x000021ad, 0x000021ac, 0xec12cb70, 0x8010909a)
    TEST_SW_EX(0x12c62066, 0x30ffb160, 0x7048ea70, 0x801000f3, 0x00003008, 0x00003008, 0x12c62066, 0x801030fb)
    TEST_SW_EX(0x1cf6a0b2, 0x2bb34d38, 0xcc7555fc, 0x8010636e, 0x00001c11, 0x00001c10, 0x1cf6a0b2, 0x80107f7e)
    TEST_SW_EX(0xa3f5e08c, 0x78597f7c, 0xa0b80000, 0x80106380, 0x0000957e, 0x0000957c, 0x78597f7c, 0x8010f8fe)
    TEST_SW_EX(0x6c1c6a4a, 0x936dc24c, 0xd8eead5e, 0x801008c3, 0x00007b36, 0x00007b34, 0x6c1c6a4a, 0x801083f7)
    TEST_SW_EX(0x58f86f48, 0x5e964680, 0x84952ac8, 0x8010728e, 0x00002ce0, 0x00002ce0, 0x58f86f48, 0x80109f6e)
    TEST_SW_EX(0xeef9bcc0, 0x57f675a0, 0xb344d742, 0x80103a78, 0x00006f5a, 0x00006f58, 0x57f675a0, 0x8010a9d2)
    TEST_SW_EX(0x6893e452, 0x5b7d21a0, 0x4983c392, 0x80100c41, 0x00002996, 0x00002994, 0x6893e452, 0x801035d5)
    TEST_SW_EX(0x0e2bc500, 0x2560b490, 0x6c9994f0, 0x80104818, 0x00008baa, 0x00008ba8, 0x2560b490, 0x8010d3c2)
    TEST_SW_EX(0x79067f27, 0x16fe6e52, 0x68ef8c68, 0x801036ca, 0x000066f4, 0x000066f4, 0x79067f27, 0x80109dbe)
    TEST_SW_EX(0x8c91a6de, 0x75ecef2c, 0x12cf1180, 0x8010220a, 0x000050f4, 0x000050f4, 0x8c91a6de, 0x801072fe)
    TEST_SW_EX(0x35705ca8, 0xa4a2347f, 0x42f93778, 0x80104f8d, 0x00004758, 0x00004758, 0x35705ca8, 0x801096e5)
    TEST_SW_EX(0x69592210, 0x744d4c26, 0x67d46f7c, 0x80104336, 0x00008e98, 0x00008e98, 0x80114336, 0x8010d1ce)
    TEST_SW_EX(0x10785538, 0x7a1f3da8, 0xe68e435c, 0x801091d7, 0x00004208, 0x00004208, 0x10785538, 0x8010d3df)
    TEST_SW_EX(0xf0044598, 0xc20f6c3c, 0x72c5c0c0, 0x8010407b, 0x000076c4, 0x000076c4, 0xf0044598, 0x8010b73f)
    TEST_SW_EX(0xbe7758df, 0xc2bf7ad0, 0xf5c358c8, 0x80104d00, 0x00008762, 0x00008760, 0xc2bf7ad0, 0x8010d462)
    TEST_SW_EX(0x6682ca53, 0x7663295f, 0xaa73e1c2, 0x80107fd8, 0x0000434e, 0x0000434c, 0x7663295f, 0x8010c326)
    TEST_SW_EX(0x4aa398c0, 0x1b579e50, 0x5e437c00, 0x801042cf, 0x000036f4, 0x000036f4, 0x4aa398c0, 0x801079c3)
    TEST_SW_EX(0x5e0d8afb, 0xbbc186c0, 0x4767d332, 0x80106b10, 0x000081d6, 0x000081d4, 0xbbc186c0, 0x8010ece6)
    TEST_SW_EX(0x51975362, 0xe04f402a, 0x385588ca, 0x80107efc, 0x00002f75, 0x00002f74, 0xe04f402a, 0x8010ae71)
    TEST_SW_EX(0xf794ec28, 0x88c506e0, 0x27ea7f54, 0x80104ae6, 0x0000a1b0, 0x0000a1b0, 0x80114ae6, 0x8010ec96)
    TEST_SW_EX(0xd1f21a80, 0x1b38c81c, 0x91bc3cf8, 0x80109667, 0x000005d8, 0x000005d8, 0xd1f21a80, 0x80109c3f)
    TEST_SW_EX(0x08c602cb, 0xdbc9e56e, 0x01a887a4, 0x8010a09c, 0x00001ead, 0x00001eac, 0xdbc9e56e, 0x8010bf49)
    TEST_SW_EX(0x2a008488, 0x373a9bea, 0x1db32e20, 0x801001b9, 0x00003376, 0x00003374, 0x2a008488, 0x8010352d)
    TEST_SW_EX(0xe56ccad0, 0xf578cb62, 0xe389e220, 0x8010606d, 0x00003e10, 0x00003e10, 0xe56ccad0, 0x80109e7d)
    TEST_SW_EX(0xb67a994c, 0x29d2dc50, 0x012146a2, 0x801060aa, 0x0000104a, 0x00001048, 0xb67a994c, 0x801070f2)
    TEST_SW_EX(0xa45e8721, 0xdfd270d4, 0x19d29bfc, 0x80102b3c, 0x00005b51, 0x00005b50, 0xdfd270d4, 0x8010868d)
    TEST_SW_EX(0x1424a560, 0x88fce360, 0xd3ac1fa0, 0x801089ce, 0x00000f30, 0x00000f30, 0x1424a560, 0x801098fe)
    TEST_SW_EX(0xf27c4ff4, 0xf48f0600, 0x5bdde3e0, 0x8010531e, 0x00007d24, 0x00007d24, 0xf27c4ff4, 0x8010d042)
    TEST_SW_EX(0xa04db41a, 0x45cd4a3a, 0xab96e7f0, 0x80101628, 0x000006d6, 0x000006d4, 0x45cd4a3a, 0x80101cfe)
    TEST_SW_EX(0xe36a7bfc, 0x107feee4, 0xfa686f3c, 0x80109408, 0x00002093, 0x00002090, 0x107feee4, 0x8010b49b)
    TEST_SW_EX(0xf90c38c0, 0xdb8fe16b, 0xd61be4fc, 0x80102b60, 0x00001c6a, 0x00001c68, 0xdb8fe16b, 0x801047ca)
    TEST_SW_EX(0x85d7229c, 0x584b2ed0, 0xefc9c3f4, 0x80102148, 0x00007ade, 0x00007adc, 0x584b2ed0, 0x80109c26)
    TEST_SW_EX(0x238e4240, 0x78793740, 0x1a6d4680, 0x80100a10, 0x0000eed1, 0x0000eed0, 0x78793740, 0x8010f8e1)
    TEST_SW_EX(0x9618970e, 0xc8faa454, 0x7d16f330, 0x80106062, 0x00006614, 0x00006614, 0x9618970e, 0x8010c676)
    TEST_SW_EX(0x15b42020, 0x51523869, 0xc8d0b516, 0x8010543f, 0x000033a8, 0x000033a8, 0x15b42020, 0x801087e7)
    TEST_SW_EX(0xcccc3550, 0x1c6bd68a, 0x5c6cd940, 0x80108e36, 0x000035e8, 0x000035e8, 0xcccc3550, 0x8010c41e)
    TEST_SW_EX(0xd8b71e30, 0x8a943510, 0x708e6600, 0x8010937e, 0x00002f63, 0x00002f60, 0xd8b71e30, 0x8010c2de)
    TEST_SW_EX(0x3ee03354, 0xf31c2b4c, 0x741bbdac, 0x8010265a, 0x00000470, 0x00000470, 0x3ee03354, 0x80102aca)
    TEST_SW_EX(0xbe3ab3bc, 0x60dd804c, 0x1da88bfc, 0x80102ec0, 0x000002b7, 0x000002b4, 0x60dd804c, 0x80103177)
    TEST_SW_EX(0xeb468dd0, 0xeb5ab560, 0xb4f4216a, 0x80109e3a, 0x00000b54, 0x00000b54, 0xeb468dd0, 0x8010a98e)
    TEST_SW_EX(0xb8ccd30c, 0xad9c1860, 0xa960477c, 0x80105307, 0x00009708, 0x00009708, 0x80115307, 0x8010ea0f)
    TEST_SW_EX(0x53d48c4d, 0x87ca7dd4, 0xf63d9c80, 0x8010765c, 0x00002bc1, 0x00002bc0, 0x87ca7dd4, 0x8010a21d)
    TEST_SW_EX(0xbfb6da50, 0x45c4baa4, 0x6822bda0, 0x801018a8, 0x0000c35a, 0x0000c358, 0x45c4baa4, 0x8010dc02)
    TEST_SW_EX(0xedafde40, 0x1be04c8c, 0xf1ed239c, 0x80107463, 0x000005e8, 0x000005e8, 0xedafde40, 0x80107a4b)
    TEST_SW_EX(0x3ead2280, 0x648c2440, 0xbd7ecc00, 0x8010807c, 0x0000512e, 0x0000512c, 0x648c2440, 0x8010d1aa)
    TEST_SW_EX(0x9330ddb4, 0xbd356880, 0x65fbde4c, 0x801064dd, 0x00007178, 0x00007178, 0x9330ddb4, 0x8010d655)
    TEST_SW_EX(0xd7668d98, 0x4f012d00, 0x795345a7, 0x80105480, 0x0000407e, 0x0000407c, 0x4f012d00, 0x801094fe)
    TEST_SW_EX(0x3e59cca8, 0x4fb771f0, 0x39eae020, 0x80100000, 0x000069bf, 0x000069bc, 0x4fb771f0, 0x801069bf)
    TEST_SW_EX(0x2c83773c, 0x68e08180, 0x1478f360, 0x80100000, 0x0000c592, 0x0000c590, 0x68e08180, 0x8010c592)
    TEST_SW_EX(0xd8a0fd64, 0xe3f412d7, 0xfb6f07e9, 0x80100000, 0x00007ae2, 0x00007ae0, 0xe3f412d7, 0x80107ae2)
    TEST_SW_EX(0x8791a90c, 0x8c095acb, 0x75cabe4e, 0x80100000, 0x0000db17, 0x0000db14, 0x8c095acb, 0x8010db17)
    TEST_SW_EX(0x766de000, 0xa4abd538, 0xbfb2fbd6, 0x80100000, 0x00002466, 0x00002464, 0xa4abd538, 0x80102466)
    TEST_SW_EX(0x3366de7c, 0x8609edb0, 0x8898c2d5, 0x80100000, 0x0000c256, 0x0000c254, 0x8609edb0, 0x8010c256)
    TEST_SW_EX(0x9003dc20, 0x7d201d85, 0xc4c1a3b0, 0x80100000, 0x0000c51a, 0x0000c518, 0x7d201d85, 0x8010c51a)
    TEST_SW_EX(0xf6b24d20, 0x7aa6d8c0, 0xddaed5ec, 0x80100000, 0x00009cd6, 0x00009cd4, 0x7aa6d8c0, 0x80109cd6)
    TEST_SW_EX(0x8fae423f, 0x639a838d, 0x5cf84bb0, 0x80100000, 0x0000de72, 0x0000de70, 0x639a838d, 0x8010de72)
    TEST_SW_EX(0x7c09c114, 0xbff0f988, 0x9fdc0cc1, 0x80100000, 0x0000f712, 0x0000f710, 0xbff0f988, 0x8010f712)
    TEST_SW_EX(0xb2041084, 0x35ce043c, 0x6b16ef80, 0x80100000, 0x000021c2, 0x000021c0, 0x35ce043c, 0x801021c2)
    TEST_SW_EX(0x6e888820, 0x3ce86e1c, 0x3ed3ea40, 0x80100000, 0x0000b87b, 0x0000b878, 0x3ce86e1c, 0x8010b87b)
    TEST_SW_EX(0xb71bb850, 0x45ee3100, 0xee23cf00, 0x80100000, 0x0000fe16, 0x0000fe14, 0x45ee3100, 0x8010fe16)
    TEST_SW_EX(0x84ae6e60, 0xb02670f8, 0x011e66d6, 0x80100000, 0x0000f09e, 0x0000f09c, 0xb02670f8, 0x8010f09e)
    TEST_SW_EX(0x28a3db70, 0xcbb101a6, 0x51209460, 0x80100000, 0x000090f2, 0x000090f0, 0xcbb101a6, 0x801090f2)
    TEST_SW_EX(0x74a47ca2, 0x79f1d77c, 0x0ece4d80, 0x80100000, 0x00005cbf, 0x00005cbc, 0x79f1d77c, 0x80105cbf)
    TEST_SW_EX(0xd66632da, 0x111a1ac4, 0x075d310c, 0x80100000, 0x00006fce, 0x00006fcc, 0x111a1ac4, 0x80106fce)
    TEST_SW_EX(0xb2c3f040, 0xc540a250, 0x5ceb39e4, 0x80100000, 0x0000efca, 0x0000efc8, 0xc540a250, 0x8010efca)
    TEST_SW_EX(0x0d001d5e, 0x63280880, 0x3e4e0f06, 0x80100000, 0x00005de2, 0x00005de0, 0x63280880, 0x80105de2)
    TEST_SW_EX(0xc871f640, 0x52a26afe, 0x1394ee48, 0x80100000, 0x0000b20e, 0x0000b20c, 0x52a26afe, 0x8010b20e)
    TEST_SW_EX(0x5b0acf59, 0xd6316e00, 0x5adde90e, 0x80100000, 0x00008ca1, 0x00008ca0, 0xd6316e00, 0x80108ca1)
    TEST_SW_EX(0x825d1570, 0x6ac235fd, 0xdd6279e0, 0x80100000, 0x00000f4f, 0x00000f4c, 0x6ac235fd, 0x80100f4f)
    TEST_SW_EX(0xf4e27470, 0xe1da9bbe, 0x7c896cc4, 0x80110000, 0x00000003, 0x00000000, 0xe1da9bbe, 0x80110003)
    TEST_SW_EX(0xaf05b932, 0x9cf893d0, 0x4f63f77e, 0x80110000, 0x00000002, 0x00000000, 0x9cf893d0, 0x80110002)
    TEST_SW_EX(0x77ea8598, 0x121c5018, 0x3127a560, 0x80110000, 0x00000003, 0x00000000, 0x121c5018, 0x80110003)
    TEST_SW_EX(0x6213c440, 0x895b21f4, 0x26ecbbb0, 0x80110000, 0x00000003, 0x00000000, 0x895b21f4, 0x80110003)
    TEST_SW_EX(0x337a07cc, 0xe5c97380, 0x4030f8c8, 0x80110000, 0x00000003, 0x00000000, 0xe5c97380, 0x80110003)
    TEST_SW_EX(0x33dcac62, 0x6bfe55dc, 0x597a3746, 0x80110000, 0x00000002, 0x00000000, 0x6bfe55dc, 0x80110002)
    TEST_SW_EX(0x4369be04, 0x6b63b4b4, 0x395006b4, 0x80110000, 0x00000001, 0x00000000, 0x6b63b4b4, 0x80110001)
    TEST_SW_EX(0x55872c03, 0xb6567fbe, 0x486c6583, 0x80110000, 0x00000001, 0x00000000, 0xb6567fbe, 0x80110001)
    TEST_SW_EX(0x8f7e37e0, 0x519b0386, 0x6d44bd74, 0x80110000, 0x00000002, 0x00000000, 0x519b0386, 0x80110002)
    TEST_SW_EX(0x734a0850, 0xc5690284, 0x0ab61c28, 0x80110000, 0x00000001, 0x00000000, 0xc5690284, 0x80110001)
    TEST_SW_EX(0x41d7cfe4, 0x0e4d2c14, 0x5a873bb8, 0x80110000, 0x00000003, 0x00000000, 0x0e4d2c14, 0x80110003)
    TEST_SW_EX(0xd90e4282, 0x1a357d58, 0x93c99970, 0x80110000, 0x00000002, 0x00000000, 0x1a357d58, 0x80110002)
    TEST_SW_EX(0xbe16ee75, 0x5697b404, 0x650d8a88, 0x80110000, 0x00000002, 0x00000000, 0x5697b404, 0x80110002)
    TEST_SW_EX(0x87445fc0, 0x6c00b5b6, 0x90fede20, 0x80110000, 0x00000001, 0x00000000, 0x6c00b5b6, 0x80110001)
    TEST_SW_EX(0xf6058770, 0xdc4fce10, 0x9fca4c1f, 0x80110000, 0x00000002, 0x00000000, 0xdc4fce10, 0x80110002)
    TEST_SW_EX(0x0cb80eb0, 0x21c927ec, 0xb0160d00, 0x80110000, 0x00000001, 0x00000000, 0x21c927ec, 0x80110001)
    TEST_SW_EX(0x2258ae38, 0xecbf85c2, 0xe4fc917c, 0x80110000, 0x00000001, 0x00000000, 0xecbf85c2, 0x80110001)
    TEST_SW_EX(0xafbdc192, 0xd6d9f6d5, 0xa2081980, 0x80110000, 0x00000002, 0x00000000, 0xd6d9f6d5, 0x80110002)
    TEST_SW_EX(0x1c0ac1f0, 0x6eca8dc0, 0x856983d6, 0x80110000, 0x00000001, 0x00000000, 0x6eca8dc0, 0x80110001)
    TEST_SW_EX(0x9c15268e, 0xcbc0624a, 0x289209a0, 0x80110000, 0x00000003, 0x00000000, 0xcbc0624a, 0x80110003)
    TEST_SW_EX(0xcfe8c5d0, 0xce23329c, 0xdbc44e1c, 0x80110000, 0x00000001, 0x00000000, 0xce23329c, 0x80110001)
    TEST_SW_EX(0xa4b79d98, 0x898a4474, 0xd1393358, 0x80110000, 0x00000001, 0x00000000, 0x898a4474, 0x80110001)
    TEST_SW_EX(0x18c570e0, 0xa22f827e, 0xb9c9f00c, 0x80110000, 0x00000003, 0x00000000, 0xa22f827e, 0x80110003)
    TEST_SW_EX(0xa28736f6, 0x275426fc, 0x3b3d3900, 0x80110000, 0x00000001, 0x00000000, 0x275426fc, 0x80110001)
    TEST_SW_EX(0x9fae4458, 0xbf912f00, 0x13441166, 0x80110000, 0x00000001, 0x00000000, 0xbf912f00, 0x80110001)
    TEST_SW_EX(0xad4a4c7c, 0x04ef0ae0, 0xca18bca0, 0x80110000, 0x00000001, 0x00000000, 0x04ef0ae0, 0x80110001)
    TEST_SW_EX(0x6339f933, 0x9d770639, 0x92397d34, 0x80110000, 0x00000002, 0x00000000, 0x9d770639, 0x80110002)
    TEST_SW_EX(0xd87c8700, 0x4eb9a85b, 0xa3bff680, 0x80110000, 0x00000003, 0x00000000, 0x4eb9a85b, 0x80110003)
    TEST_SW_EX(0x31e5bf2e, 0x78bf289d, 0xbe1889a8, 0x80110000, 0x00000002, 0x00000000, 0x78bf289d, 0x80110002)
    TEST_SW_EX(0xd6c456cc, 0x1a4b7c60, 0x94b47fa8, 0x80110000, 0x00000002, 0x00000000, 0x1a4b7c60, 0x80110002)
    TEST_SW_EX(0xc026ca09, 0xbce7f2ca, 0xc29e7068, 0x80110000, 0x00000003, 0x00000000, 0xbce7f2ca, 0x80110003)
    TEST_SW_EX(0x90fcaabc, 0x7fe48aa2, 0x161b4f8c, 0x80110000, 0x00000003, 0x00000000, 0x7fe48aa2, 0x80110003)
    TEST_SW_EX(0x46ad9ee6, 0xe3c3ce7e, 0xc5fb9990, 0x80110000, 0x00000001, 0x00000000, 0xe3c3ce7e, 0x80110001)
    TEST_SW_EX(0xb9bec684, 0x997c7c39, 0x10329900, 0x80110000, 0x00000001, 0x00000000, 0x997c7c39, 0x80110001)
    TEST_SW_EX(0xa4547ab6, 0xd005b950, 0xe9219024, 0x80110000, 0x00000001, 0x00000000, 0xd005b950, 0x80110001)
    TEST_SW_EX(0x4c4ffa18, 0xb51d2e50, 0xd983363c, 0x80110000, 0x00000002, 0x00000000, 0xb51d2e50, 0x80110002)
    TEST_SW_EX(0xe0d92e86, 0xb83a5602, 0x23a38300, 0x80110000, 0x00000002, 0x00000000, 0xb83a5602, 0x80110002)

###detect exception
###score ++
    addiu s3, s3, 1
###output a0|s3
inst_error:
    sw s3, 0($23)
    sw a0, 0(s1)
    jr ra
    nop
####END(n65_sw_ex_test)
